﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Root.master" AutoEventWireup="true" CodeFile="arhrep.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">
    <div class="pageLabel">
        <dx:ASPxLabel ID="lbl_page" runat="server" Text="Отчет по архиву" Font-Size="Medium" Theme="iOS">
        </dx:ASPxLabel>
    </div>
    <div style="float: left; margin-left: 10px; ">
        <div style="margin-bottom: 10px">
            <dx:ASPxButton ID="btnExec" runat="server" Text="Обновить" OnClick="btnExec_Click"></dx:ASPxButton>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RegRar %>" ProviderName="<%$ ConnectionStrings:RegRar.ProviderName %>" SelectCommand="GETFILLINGOBJECTS" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
        </div>
        <dx:ASPxGridView ID="grid" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" EnableTheming="True" Theme="DevEx">
            <Columns>
                <dx:GridViewDataTextColumn FieldName="CODE" VisibleIndex="0" Visible="False">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="NAME" VisibleIndex="1" Caption="Объект" GroupIndex="0" SortIndex="0" SortOrder="Ascending"></dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="ARCOBJECT" VisibleIndex="2" Visible="False">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="NOTE" VisibleIndex="3" Caption="Помещение">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="ALLCNT" Visible="False" VisibleIndex="4">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="FREECNT" Visible="False" VisibleIndex="5">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataProgressBarColumn FieldName="PROC" VisibleIndex="6" Width="200px" Caption="Свободно">
                    <PropertiesProgressBar CustomDisplayFormat="" DisplayFormatString="" Height="" Width="">
                    </PropertiesProgressBar>
                </dx:GridViewDataProgressBarColumn>
            </Columns>
        </dx:ASPxGridView>
        <asp:EntityDataSource ID="EntityDataSource2" runat="server">
        </asp:EntityDataSource>
    </div>
</asp:Content>

